package com.mrs.exception;


import com.mrs.common.HttpEnum;
import lombok.Data;
import lombok.Getter;

/**
 * description: BusinessException
 * date: 2022/7/15 20:14
 * author: MR.孙
 */
@Data
public class BusinessException extends RuntimeException{

    private HttpEnum.Code code;

    public BusinessException(HttpEnum.Code code,String msg){
        super(msg);
        this.code=code;

    }
}
